package com.mingqijia.gassafety.statistics.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-02-23
 */

@Data
@ApiModel("客户列表")
public class IndustryConsumerResponse {

    private Integer id;
    private Integer consumerId;
    private String spId;

    @ApiModelProperty(value = "户号")
    private String subsCode;
    @ApiModelProperty(value = "户号")
    private String subsCodeName;

    @ApiModelProperty("用户ID")
    private String memberId;

    @ApiModelProperty("用户手机号")
    private String phone;

    @ApiModelProperty(value = "户名")
    private String custName;

    @ApiModelProperty(value = "户址")
    private String custAddress;

    @ApiModelProperty(value = "户主手机号")
    private String custPhone;

    @ApiModelProperty(value = "户主 用户类型")
    private String custType;

    @ApiModelProperty(value = "客户名字")
    private String name;

    @ApiModelProperty(value = "地址(详细)")
    private String address;

    @ApiModelProperty(value = "所属行业  模板二:所属行业")
    private String industryType;

    @ApiModelProperty(value = "所属行业name /模板二 所属行业name")
    private String industryTypeName;

    @ApiModelProperty(value = "燃气公司")
    private String companyName;

    @ApiModelProperty(value = "设备总数")
    private Integer deviceSum;
    @ApiModelProperty(value = "报警设备")
    private Integer alarmDevice;
    @ApiModelProperty(value = "厂家名称")
    private String manufacturerName;

    @ApiModelProperty("气体浓度")
    private String xLEL;

    @ApiModelProperty("浓度值")
    private Integer concentration;

    @ApiModelProperty("2低报,3高报 4故障 其他为报警")
    private Integer equipmentStatus;

    @ApiModelProperty("2低报,3高报 4故障 其他为报警")
    private String equipmentStatusName;

    @ApiModelProperty(value = "上报时间")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss", timezone = "GMT+8")
    private Date lastTime;

    @ApiModelProperty("设备故障信息")
    private String brokenReason;

    /**
     * 业务类型
     */
    @ApiModelProperty("业务类型: 1:安装单 2：报警处理 3：故障处理")
    private Integer bizType;
}
